Allocation
Update an allocation
Update an existing allocation between a campaign and placement.
Access Control:
- Admin and Retailer accounts: Can update any allocation and change status to published/rejected
- Advertiser accounts: Can only update allocations for campaigns they own, cannot change status to published/rejected
If the user doesn’t have permission to update the allocation, the request fails.
PATCH
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Schema for updating allocation entity.
Response
200
application/json
Successful Response
Schema for reading allocation entity.
Previous
Delete an allocationDelete an allocation between a campaign and placement.
Access Control:
- Admin and Retailer accounts: Can delete any allocation
- Advertiser accounts: Can only delete allocations for campaigns they own
Restrictions:
- Published allocations cannot be deleted
- The allocation must exist
- The user must have permission to delete the allocation
If any of these conditions are not met, the request will fail with an appropriate error response.
Next